import express from 'express'
import consign from 'consign'

const app = express()

consign({ verbose: false, cwd: __dirname })
  .include('config')
  .then('common/middlewares.js')
  .then('routes/index.js')
  .then('common/boot.js')
  .into(app)
